﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;

/// <summary>
/// Descripción breve de Pais
/// </summary>
public class Pais
{

    Conexion cn = new Conexion();

	public Pais()
	{
	}

    public DataTable listarPaises()
    {
        SqlDataAdapter da = new SqlDataAdapter("spr_pais_listar", cn.getCn());
        da.SelectCommand.CommandType = CommandType.StoredProcedure;
        DataTable tabla = new DataTable();
        da.Fill(tabla);
        return tabla;
    }
}